package dongze.com.ckdj.dagger.module;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import dongze.com.ckdj.dagger.AppScope;
import dongze.com.ckdj.data.entity.response.User;

/**
 * Created by fanqwz on 2017/8/11.
 */

@Module
public class UserModule {
    User user;
    public UserModule(User user) {
        this.user = user;
    }

    @AppScope
    @Provides
    User getUser() {
        return user;
    }
}
